import matplotlib.pyplot as plt


x_values = range(1,5001)
y_values = [x**3 for x in x_values]

fig,ax = plt.subplots()
ax.scatter(x_values,y_values,c=y_values,cmap=plt.cm.Reds,s=100)

ax.set_title("Tri of x",fontsize = 24)
ax.set_xlabel("X:",fontsize=14)
ax.set_ylabel("Y:",fontsize=14)


plt.savefig('tripl_5_num.png',bbox_inches='tight')
plt.show()
